﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Hotel.IRepository.Migrations
{
    public partial class rcb : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "UserToleId",
                table: "UserRoleInfos",
                newName: "UserRoleId");

            migrationBuilder.RenameColumn(
                name: "UserToleId",
                table: "RolePermisstionInfos",
                newName: "RoleId");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "UserRoleId",
                table: "UserRoleInfos",
                newName: "UserToleId");

            migrationBuilder.RenameColumn(
                name: "RoleId",
                table: "RolePermisstionInfos",
                newName: "UserToleId");
        }
    }
}
